//
//  HomeProductItemModel.h
//  PPDL
//
//  Created by 王洋 on 2019/7/25.
//  Copyright © 2019 王洋. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

/*
 attention = 0;
 coverImgPath = "https://img3.paipaideli.com/2019/7/20190712172312472.jpg";
 endTime = "2019-07-31 22:15:17";
 endTime4Second = 1564582517000;
 goodsBottomPrice = 6312;
 goodsCappedPrice = "";
 goodsId = 19;
 goodsMarketPrice = 5488;
 goodsName = "HUAWEI P30 Pro \U8d85\U611f\U5149\U5f95\U5361\U56db\U6444 \U5c4f\U5185\U6307\U7eb9 \U53cc\U666f\U5f55\U50cf 8GB+128GB \U5168\U7f51\U901a\U7248";
 goodsPriceIncreaseRange = "";
 goodsStartingPrice = "";
 id = 366;
 imgPath = "";
 no = "db824ac3-38ad-4adf-b840-4c485ccbac8a";
 price = "";
 startTime = "2019-07-30 11:13:09";
 startTime4Second = 1564456389000;
 status = 1;
 */


@interface HomeProductItemModel : NSObject


@property (nonatomic, copy)   NSString  *productID;
@property (nonatomic, copy)   NSString  *productName;
@property (nonatomic, copy)   NSString  *productImage;
@property (nonatomic, strong) UIColor   *countBGColor;

@property (nonatomic, assign)   double marketPrice;
//起拍价
@property (nonatomic, assign)   double auctionPrice;

@property (nonatomic, assign)  NSTimeInterval beginTimestamp;
@property (nonatomic, assign)  NSTimeInterval endTimestamp;

//计算后的产出

@property (nonatomic, assign) BOOL isWaitStart;
@property (nonatomic, assign) BOOL isWaitEnd;
@property (nonatomic, assign) BOOL isEnd;

@property (nonatomic, copy)   NSString  *prefixStr;

@property (nonatomic, assign) NSInteger distanceToStart;
@property (nonatomic, assign) NSInteger distanceToEnd;
@property (nonatomic, assign) NSInteger count;

@property (nonatomic, assign)   PPGoodDetailType  goodDetailType;


/// 倒计时源
@property (nonatomic, copy) NSString *countDownSource;

@end

NS_ASSUME_NONNULL_END
